import request from '../utils/request'

// 提交订单
export function addOrderFn (params) {
  return request.post('/order/addOrder', params)
}
// 获取确认订单的信息 confirmOrder
export function confirmOrder (params) {
  return request.get('/order/confirmOrder', { params })
}
// 修改订单的地址
export function updateOrderAddress (params) {
  return request.post('/order/updateOrderAddress', params)
}
